package com.ladybug.flow.common.utils;

import org.springframework.security.crypto.password.MessageDigestPasswordEncoder;

/**
* @description: TODO
* @author long
* @date 2022/10/14 16:16
* @version 1.0
*/
public class Pasutil {
    public static String encodePassword(String password,String encodingType){
        return null;
    }
    public static void main(String[] args) {
        MessageDigestPasswordEncoder encoder = new MessageDigestPasswordEncoder("MD5");
        System.out.println(encoder.encode("123456") );
        //{R8tK6TvD2Wb08aKk96sq42Fp1MZyOF4F68eS2QE/q6A=}c138e37489997177dd435607258f5692
    }
}
